/*
AccountZipCodeClass
Author: Pratibh Prakash
Created: Date: 15 Jan-2009
Reason: Assignment(Vishal)
*/
public class AccountZipCodeClass
{
    /*
    Type Name: AccountZipCodeClass/AccountTrigger
    Author: Pratibh Prakash
    Parameter(s): accArray
    ReturnType: void
    Created: Date: 15 Jan-2009
    Reason: Assignment(Vishal)
    */
    public static void cityPopulate(Account[] accArray)
    {
        ZipCode__c objZipCode = [select City__c from ZipCode__c  where id=:accArray[0].ZipCode__c];
        accArray[0].City__c = objZipCode.City__c;                          
        
    }
}